import request from '@/utils/request'


// /user/open
let openUser = async (params) => {
    let result = await request({
        method: 'POST',
        url: '/user/open',
        data: {
            ...params
        }
    })
    return result
}

let login = async (params) => {
    let result = await request({
        method: 'POST',
        url: '/user/login',
        data: {
            ...params
        }
    })
    return result
}



export default {
    openUser,
    login
}